/**
 * 
 */
package com.bagtrack.dao;

import java.util.List;

import com.bagtrack.model.Flight;


/**
 * @author Brian Boyle
 * Nov 14, 2011
 *
 */
public interface IFlightDAO {

    /**
     * Create a new flight.
     * @param flight The flight object
     */
    public void saveFlight(Flight flight);

    /**
     * Select a list of all 
     * @return
     */
    public List<Flight> selectActiveFlights();

    /**
     * Select a flight by its Id.
     * @param id the ID of the flight
     * @return A flight instance
     */
    public Flight selectFlightById(Long id);
}
